package cn.aihongbo.kmp.base.widget

import kotlinproject.composeapp.generated.resources.Res
import kotlinproject.composeapp.generated.resources.bottom_tab_home_nor
import kotlinproject.composeapp.generated.resources.bottom_tab_home_sel
import kotlinproject.composeapp.generated.resources.bottom_tab_message_nor
import kotlinproject.composeapp.generated.resources.bottom_tab_message_sel
import kotlinproject.composeapp.generated.resources.bottom_tab_my_nor
import kotlinproject.composeapp.generated.resources.bottom_tab_my_sel
import kotlinproject.composeapp.generated.resources.bottom_tab_order_nor
import kotlinproject.composeapp.generated.resources.bottom_tab_order_sel
import kotlinproject.composeapp.generated.resources.bottom_tab_work_nor
import kotlinproject.composeapp.generated.resources.bottom_tab_work_sel
import kotlinproject.composeapp.generated.resources.tab_home
import kotlinproject.composeapp.generated.resources.tab_message
import kotlinproject.composeapp.generated.resources.tab_my
import kotlinproject.composeapp.generated.resources.tab_order
import kotlinproject.composeapp.generated.resources.tab_work
import org.jetbrains.compose.resources.DrawableResource
import org.jetbrains.compose.resources.StringResource

enum class HNavigation(
    val selectedIcon: DrawableResource,
    val unSelectedIcon: DrawableResource,
    val title: StringResource,
    val route: String
) {
    HomePage(
        selectedIcon = Res.drawable.bottom_tab_home_sel,
        unSelectedIcon = Res.drawable.bottom_tab_home_nor,
        title = Res.string.tab_home,
        route = "tab_home"
    ),
    MessagePage(
        selectedIcon = Res.drawable.bottom_tab_message_sel,
        unSelectedIcon = Res.drawable.bottom_tab_message_nor,
        title = Res.string.tab_message,
        route = "tab_message"
    ),
    OrderPage(
        selectedIcon = Res.drawable.bottom_tab_order_sel,
        unSelectedIcon = Res.drawable.bottom_tab_order_nor,
        title = Res.string.tab_order,
        route = "tab_order"
    ),
    WorkPage(
        selectedIcon = Res.drawable.bottom_tab_work_sel,
        unSelectedIcon = Res.drawable.bottom_tab_work_nor,
        title = Res.string.tab_work,
        route = "tab_work"
    ),
    MyPage(
        selectedIcon = Res.drawable.bottom_tab_my_sel,
        unSelectedIcon = Res.drawable.bottom_tab_my_nor,
        title = Res.string.tab_my,
        route = "tab_my"
    )
}